package algorithmTopics.string;

public class test1 {

    public static void main(String[] args) {

    }


    public void reverseString(char[] s) {
        char temp ;
        for (int i = 0; i < s.length / 2; i++) {
            temp = s[i];
            s[i] = s[s.length - i - 1];
            s[s.length - i - 1] = temp;
        }
    }
}
